package com.doerit.laptops.entity;

import java.util.Date;

public class Invoice extends AbstractEntity {
    
    private Byte no;
    
    private Date date;
    
    private Date dueDate;
    
    private Integer qty;
    
    private Double subTotal;
    
    private Double discount;
    
    private Double netTotal;
    
    private String terms;
    
    private Integer fkCustomerId;
    
    private Integer fkStaffId;  
    
    public Byte getNo() {
        return no;
    }

    
    public void setNo(Byte no) {
        this.no = no;
    }

    
    public Date getDate() {
        return date;
    }

    
    public void setDate(Date date) {
        this.date = date;
    }

    
    public Date getDueDate() {
        return dueDate;
    }

    
    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }

    
    public Integer getQty() {
        return qty;
    }

    
    public void setQty(Integer qty) {
        this.qty = qty;
    }

    
    public Double getSubTotal() {
        return subTotal;
    }

    
    public void setSubTotal(Double subTotal) {
        this.subTotal = subTotal;
    }

    
    public Double getDiscount() {
        return discount;
    }

    
    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    
    public Double getNetTotal() {
        return netTotal;
    }

    
    public void setNetTotal(Double netTotal) {
        this.netTotal = netTotal;
    }

    
    public String getTerms() {
        return terms;
    }

    
    public void setTerms(String terms) {
        this.terms = terms == null ? null : terms.trim();
    }

    
    public Integer getFkCustomerId() {
        return fkCustomerId;
    }

    
    public void setFkCustomerId(Integer fkCustomerId) {
        this.fkCustomerId = fkCustomerId;
    }

    
    public Integer getFkStaffId() {
        return fkStaffId;
    }

    
    public void setFkStaffId(Integer fkStaffId) {
        this.fkStaffId = fkStaffId;
    }
}